package com.example.administrator.familfinalcialmanagement.bean;

import java.util.List;

public class GoodsBean {
    /**
     * msg : success
     * code : 0
     * data : [{"id":1,"type_name":"Apple"},{"id":2,"type_name":"小米"},{"id":3,"type_name":"华为"},{"id":4,"type_name":"VIVO"},{"id":5,"type_name":"OPPO"},{"id":6,"type_name":"三星"},{"id":7,"type_name":"一加"},{"id":8,"type_name":"红米"},{"id":9,"type_name":"魅族"},{"id":10,"type_name":"索尼"},{"id":11,"type_name":"诺基亚"},{"id":12,"type_name":"坚果"},{"id":13,"type_name":"联想"},{"id":14,"type_name":"realme"},{"id":15,"type_name":"摩托罗拉"},{"id":16,"type_name":"荣耀"}]
     */

    private String msg;
    private int code;
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * type_name : Apple
         */

        private int id;
        private String type_name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getType_name() {
            return type_name;
        }

        public void setType_name(String type_name) {
            this.type_name = type_name;
        }
    }
}
